package com.material.c2c.classify.model;

import java.util.ArrayList;
import java.util.List;

import com.material.c2c.classify.entity.SPFL;

public class ClassifyTreeNode extends ClassifyDTO{
	private static final long serialVersionUID = 1L;
	public ClassifyTreeNode() {
		this.expand = false;
	}
	public ClassifyTreeNode(SPFL spfl) {
		super(spfl);
		this.children = new ArrayList<ClassifyTreeNode>();
		this.title = spfl.getFlmc();
		this.expand = false;
	}
	/**
	 * 子节点
	 */
	private List<ClassifyTreeNode> children;
	/**
	 * 标题
	 */
	private String title;
	private boolean expand;
	public boolean getExpand() {
		return expand;
	}

	public void setExpand(boolean expand) {
		this.expand = expand;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public List<ClassifyTreeNode> getChildren() {
		return children;
	}

	public void setChildren(List<ClassifyTreeNode> children) {
		this.children = children;
	}
	
}
